-- GENERATED SPELL FOR [Hungering Dead] --


function spell0_1527(pUnit, Event) --@Disease Touch,n/a--
pUnit:FullCastSpellOnTarget(3234,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1527', 511, 1)
end

function Sorts_1527(pUnit, Event)
local choix_sorts_1527 = math.random(0, 0)
if choix_sorts_1527 == 0 then
pUnit:RegisterEvent('spell0_1527', 1, 1)
end
end

function mob1527_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1527', math.random(1500, 3000), 1)
end

function mob1527_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1527_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1527_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1527, 1, 'mob1527_Action')
RegisterUnitEvent(1527, 2, 'mob1527_Leave')
RegisterUnitEvent(1527, 3, 'mob1527_Kill')
RegisterUnitEvent(1527, 4, 'mob1527_Die')
